$OpenBSD: patch-src_video_x11_SDL_x11window_c,v 1.1 2014/05/25 01:35:14 brad Exp $

Fix stack overflow detected by stack protector strong.

https://bugzilla.libsdl.org/show_bug.cgi?id=2513
http://hg.libsdl.org/SDL/rev/b74a32894c02

--- src/video/x11/SDL_x11window.c.orig	Sat May 24 14:44:20 2014
+++ src/video/x11/SDL_x11window.c	Sat May 24 14:44:55 2014
@@ -362,7 +362,7 @@ X11_CreateWindow(_THIS, SDL_Window * window)
     Atom _NET_WM_WINDOW_TYPE_NORMAL;
     Atom _NET_WM_PID;
     Atom XdndAware, xdnd_version = 5;
-    Uint32 fevent = 0;
+    long fevent = 0;
 
 #if SDL_VIDEO_OPENGL_GLX || SDL_VIDEO_OPENGL_EGL
     if ((window->flags & SDL_WINDOW_OPENGL) &&
